| Description | : The AutoSuggest API lets you send a search query to Bing and get back a list of query suggestions. This section provides technical details about the query parameters and headers that you use to request suggestions and the JSON response objects that contain them. |
| Reference | : Link ¶ |
⚼ Request
GET:
/Suggestions
{
X-BingApis-SDK:
string
,
Accept:
string
,
Accept-Language:
string
,
Pragma:
string
,
User-Agent:
string
,
X-MSEdge-ClientID:
string
,
X-MSEdge-ClientIP:
string
,
X-Search-Location:
string
,
cc:
string
,
mkt:
string
,
q:
string
,
safeSearch:
string
,
setLang:
string
,
ResponseFormat:
array
,
}
⚐ Response (200)
{
suggestionGroups:
}
[
]
,
{
,
name:
enum
,
searchSuggestions:
[
]
,
{
,
displayText:
string
,
query:
string
,
searchKind:
enum
,
}
_type:
string
,
}
⚐ Response (default)
{
errors:
}
[
]
,
{
,
code:
enum
,
message:
string
,
moreDetails:
string
,
parameter:
string
,
value:
string
,
_type:
string
,
}